home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / LayerGroups / DEditFieldsData.h < prev    next >
Encoding:
Text File  |  1998-10-23  |  930 b   |  45 lines  |  [TEXT/CWIE]

  1. // DEditFieldsData -- data class for LayerGroups
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idFBFullLength        = 'FBFh';
  9. const long    idFBBodyWidth        = 'FBBh';
  10. const long    idFBShSlope        = 'FBSe';
  11. const long    idEditingWhat        = 'Edit';
  12.  
  13. class AMEngine;
  14.  
  15. //----------
  16. class DEditFieldsData : public AMSignaler {
  17. public:
  18.                 DEditFieldsData ();
  19.     virtual        ~DEditFieldsData ();
  20.  
  21. public:
  22.     void        CopyFrom        (const DEditFieldsData&        inOther);
  23.     void        ReadFromFile    (AMEngine*        engine);
  24.     void        WriteToFile        (AMEngine*        engine);
  25.  
  26. public:
  27.     double        GetFBFullLength () const;
  28.     void        SetFBFullLength    (double        inValue);
  29.  
  30.     double        GetFBBodyWidth () const;
  31.     void        SetFBBodyWidth    (double        inValue);
  32.  
  33.     double        GetFBShSlope () const;
  34.     void        SetFBShSlope    (double        inValue);
  35.  
  36.     SInt32        GetEditingWhat () const;
  37.     void        SetEditingWhat    (SInt32        inValue);
  38.  
  39. protected:
  40.     double        mFBFullLength;
  41.     double        mFBBodyWidth;
  42.     double        mFBShSlope;
  43.     SInt32        mEditingWhat;
  44. };
  45.